package com.wuchu.shiro.service;

import com.wuchu.shiro.pojo.User;

import java.util.List;


/**
 * 类描述：
 * Author: WuChu
 * Date: 2022/3/4
 * Version: 1.0
 */
public interface UserService {

    User queryByName(String username);
    void add(User user);
    List<User> queryAll();
    void updateUser(User user);
    void delete(int id);
    User queryById(int id);
}
